#!/bin/bash

# 创建zip文件
zip -r sodao-xhs-cookie.zip manifest.json background.js content.js content.css icons popup

# 输出提示
echo "插件打包完成！"
echo "==================================="
echo "使用方法："
echo "1. 打开Chrome或Edge浏览器的扩展管理页面"
echo "   Chrome: chrome://extensions/"
echo "   Edge: edge://extensions/"
echo "2. 开启右上角的【开发者模式】"
echo "3. 将sodao-xhs-cookie.zip文件直接拖拽到浏览器窗口中"
echo "4. 点击【安装】按钮即可"
echo ""
echo "安装后使用说明："
echo "1. 访问小红书网站并登录"
echo "2. 页面右上角会出现悬浮窗"
echo "3. 点击复制即可获取Cookie"
echo "==================================="
